<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格练习</title>
</head>
<body>
<!--   style="border-collapse: collapse; 合并边框  -->
    <table border="1px" align="center" style="border-collapse: collapse;">
<!--      tr表示行  td表示列    -->
        <caption>爱好表</caption>

        <tr>
<!--            th: 表格标题 文字加粗居中-->
            <th>序号</th>
            <th>姓名</th>
            <th>爱好</th>
        </tr>
        <tr>
            <td>1</td>
            <td>传奇</td>
            <td>玩偶</td>
        </tr>
        <tr>
            <td>2</td>
            <td>伟超</td>
            <td>李颖</td>
        </tr>
        <tr>
            <td>3</td>
            <td>硕博</td>
            <td>伟超</td>
        </tr>

    </table>
</body>
</html>